package com.program.facesigninsystem.enums;

import lombok.Getter;

@Getter
public enum RabbitEnum {

    register_face("face_topic", "queue_register", "register"),
    compare_face("face_topic", "queue_compare", "compare");
//    verify_code("verify_topic", "queue_verify", "verify");

    /**
     * 交换机名称
     */
    private final String exchange;

    /**
     * 队列名称
     */
    private final String name;

    /**
     * 路由键
     */
    private final String routeKey;

    RabbitEnum(String exchange, String name, String routeKey) {
        this.exchange = exchange;
        this.name = name;
        this.routeKey = routeKey;
    }
}
